package com.mcxx.modules.miniSalvation.fundpay.dao.write;

import com.mcxx.modules.miniSalvation.fundpay.entity.FundPayMemberEntity;
import com.mcxx.modules.miniSalvation.fundpay.param.FundPayParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;
import java.util.Set;

public interface FundPayMemberWriteDao {



    int insert(FundPayMemberEntity fundPayMember);


    int insertIgnoreNull(FundPayMemberEntity fundPayMember);


    int inserts(List<FundPayMemberEntity> fundPayMemberList);


    int update(FundPayMemberEntity fundPayMember);


    int updateIgnoreNull(FundPayMemberEntity fundPayMember);


    int delete(FundPayMemberEntity fundPayMember);


    int deleteByFundPayIds(List<String> fundPayIdList);


    int batchIdDelete(FundPayParam fundPayFamily);


    int deleteByFundPayIdAndMemberId(String fundPayId, List<String> memberIdList);


    int deleteByFundPayIdAndFamilyId(String fundPayId, List<String> familyIdList);

    int deleteByFundPayIdAndIdCard(@Param("customFundPayId") String customFundPayId, @Param("memberIds") Set<String> memberIds);

    List<Map<String,String>> selectCareStand(String areaCode);
}
